package com.wkbb.sports.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.xpath.operations.Bool;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生擂台-团队
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StudentArenaTeam implements Serializable {

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;
    @ApiModelProperty(value = "编号")
    private Long id;
    @ApiModelProperty(value = "学生编号")
    private Long studentId;
    @ApiModelProperty(value = "擂台编号")
    private Long arenaId;
    @ApiModelProperty(value = "创建者家长ID")
    private Long userId;
    @ApiModelProperty(value = "名称")
    private String teamName;
    @ApiModelProperty(value = "团队人数")
    private Integer teamNum;
    @ApiModelProperty(value = "团队最大人数")
    private Integer challengeNum;
    @ApiModelProperty(value = "累计时长（ 秒）")
    private Integer totalTime;
    @ApiModelProperty(value = "累计成绩")
    private Double totalAchievement;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "是否可以进行挑战（亲子赛）")
    private Boolean canChallenge;

}